<template>
  <div>
    <span>查看控制台的打印信息</span>
  </div>
</template>
    
<script>
import { onBeforeMount, onMounted,onBeforeUpdate,onUpdated,onBeforeUnmount,onUnmounted } from "vue";
import axios from "axios";
export default {
  name: "Child",
  components:{

  },
  setup() {
    console.log("***beforeCreate***");
    console.log("***created***");
    onBeforeMount(() => {
      console.log("***onBeforeMount***");
    });
    onMounted(() => {
      console.log("***onMounted***");
    });
  },
};
</script>